package com.job.structureType.decorator;

/**
 * @Author 王博
 * @DateTime 2025-06-12 18:54
 */
public class FiredRice extends FastFood {

    public FiredRice() {
        super(10, "炒饭");
    }

    @Override
    public Integer cost() {
        return super.getPrice();
    }
}
